import type { AnchorLinkProps, AnchorProps as AntdAnchorProps } from 'antd';
import { Anchor as AntdAnchor } from 'antd';
import React from 'react';

export type AnchorProps = AntdAnchorProps;

function Anchor(props: AnchorProps) {
  return <AntdAnchor {...props} />;
}
function Link(props: AnchorLinkProps) {
  return <AntdAnchor.Link {...props} />;
}
Anchor.Link = Link;
export default Anchor;
